package com.csun.dsms.service;

import com.alibaba.fastjson.JSONObject;
import com.csun.dsms.comment.core.utils.wrapper.Wrapper;
import com.csun.dsms.model.process.ProcessNode;
import com.csun.dsms.model.process.TicketProblemInfo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface TicketProblemInfoService {

    Wrapper<Object> addTicketProblemInfo(TicketProblemInfo ticketProblemInfo);

    Wrapper<Object> addTicketProblemInfoList(JSONObject reqJson);

    Wrapper<Object> updateTicketProblemInfo(TicketProblemInfo ticketProblemInfo);

    Wrapper<Object> deleteTicketProblemInfo(TicketProblemInfo ticketProblemInfo);

    Wrapper<Object> selectTicketProblemInfo(TicketProblemInfo ticketProblemInfo);

    Wrapper<Object> selectTicketProblemInfoList(JSONObject reqJson);

    Wrapper<Object> selectTicketProblemInfoPage(JSONObject reqJson);

    Wrapper<Object> processIssuance(JSONObject reqJson);

    Wrapper<Object> processBack(TicketProblemInfo ticketProblemInfo);

    Wrapper<Object> queryNodeList(JSONObject reqJson);

    Wrapper<Object> updateNodeList(ProcessNode processNode);

    Wrapper<Object> processEnd(JSONObject reqJson);

    Wrapper<Object> uploadFile(HttpServletRequest request);

    void downTicketProblemExcelData(HttpServletResponse response, JSONObject reqJson);

    Wrapper<Object> importTicketProblemInfo(MultipartFile file);

}
